[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Compiler Errors

    Compiler errors are generated when a syntax error is encountered in
    the source program file. The first compiler error encountered is
    reported.  At this point, Turbo Pascal enters Edit mode and places the
    cursor on the line where the error was encountered.

    The error messages will be included only if `Y' was entered to the
    prompt `Include error messages (Y/N)?' when Turbo Pascal was first
    started.

               Dec                 Meaning
               ---                 -------
                01                 ';' expected
                02                 ':' expected
                03                 ',' expected
                04                 '(' expected
                05                 ')' expected
                06                 '=' expected
                07                 ':=' expected
                08                 '[' expected
                09                 ']' expected
                10                 '.' expected
                11                 '..' expected
                12                 BEGIN expected
                13                 DO expected
                14                 END expected
                15                 OF expected
                16                 PROCEDURE or FUNCTION expected
                17                 THEN expected
                18                 TO or DOWNTO expected
                20                 Boolean expression expected
                21                 File variable expected
                22                 Integer constant expected
                23                 Integer expression expected
                24                 Integer variable expected
                25                 Integer or real constant expected
                26                 Integer or real expression expected
                27                 Integer or real variable expected
                28                 Pointer variable expected
                29                 Record variable expected
                30                 Simple type expected
                31                 Simple expression expected
                32                 String constant expected
                33                 String expression expected
                34                 String variable expected
                35                 Textfile expected
                36                 Type identifier expected
                37                 Untyped file expected
                40                 Undefined label
                41                 Unknown identifier or syntax error
                42                 Undefined pointer type in preceding type
                                   definitions
                43                 Duplicate identifier or label
                44                 Type mismatch
                45                 Constant out of range
                46                 Constant and CASE selector type does not
                                   match
                47                 Operand type(s) does not match operator
                48                 Invalid result type
                49                 Invalid string length
                50                 String constant length does not match
                                   type
                51                 Invalid subrange base type
                52                 Lower bound > upper bound
                53                 Reserved word
                54                 Illegal assignment
                55                 String constant exceeds line
                56                 Error in integer constant
                57                 Error in real constant
                58                 Illegal character in identifier
                60                 Constants are not allowed here
                61                 Files and pointers are not allowed here
                62                 Structured variables are not allowed here
                63                 Textfiles are not allowed here
                64                 Textfiles and untyped files are not
                                   allowed here
                65                 Untyped files are not allowed here
                66                 I/O not allowed here
                67                 Files must be VAR parameters
                68                 File components may not be files
                69                 Invalid ordering of fields
                70                 Set base type out of range
                71                 Invalid GOTO
                72                 Label not within current block
                73                 Undefined FORWARD procedure(s)
                74                 INLINE error
                75                 Illegal use of ABSOLUTE
                76                 Overlays cannot be forward
                77                 Overlays not allowed in direct mode
                90                 File not found
                91                 Unexpected end of source
                92                 Unable to create overlay file
                97                 Too many nested WITHs
                98                 Memory overflow
                99                 Compiler overflow

See Also: I/O Errors Runtime Errors
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson